package com.tb.stock;

import com.tb.common.base.ARouterPath;

/**
 * Created by Clark on 2023/12/16.
 * Description :
 */
public class Config {
    /**
     * tabbar的动态显示
     * 0 首页 行情 交易
     * 1 首页 交易  行情
     * 2 理财 首页 行情  交易
     */

    static int type =2;
    //tab页面的路由配置
    static String[] type0 = {ARouterPath.NewsListFgt, ARouterPath.MarketListFgt, ARouterPath.AboutFgt};
    static String[] type1 = {ARouterPath.MarketListFgt, ARouterPath.NewsListFgt, ARouterPath.AboutFgt};
    static String[] type2 = {ARouterPath.AboutFgt, ARouterPath.NewsListFgt, ARouterPath.MarketListFgt, ARouterPath.AboutFgt};
    static String[][] ListType = {type0, type1, type2};

    static Integer[] positionTabList0 = {0, 1, 2};
    static Integer[] positionTabList1 = {1, 0, 2};
    static Integer[] positionTabList2 = {1, 2, 3, 0};
    static Integer[][] positionList = {positionTabList0, positionTabList1, positionTabList2};
    //tab页面的菜单
    static Integer[] menuList = {R.menu.navigation, R.menu.navigation_test1, R.menu.navigation_test2};
    //tab页面的按钮配置
    static Integer[] itemKeyList = {R.id.navigation_home, R.id.navigation_dashboard, R.id.navigation_notifications, R.id.navigation_base};
}
